<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>弹性布局</title>
		<style>
			#all{
				height: 400px;
				border: 1px solid red;
				display: flex;
				flex-direction: row;
				/* flex-wrap: wrap; */
				justify-content:space-between;
				/* align-items: center; */
				align-items: flex-end;
				/* justify-content:space-around; */
				/* justify-content:center; */
				/* justify-content:flex-end; */
			}
			#all>div{
				height: 100px;
				width: 100px;
				margin: 1px;
				font-size: 30px;
				color:white;
				background-color: brown;
			}
			#all>div.cw{
				/* order:-100; */
				flex: 1 0.3 auto;
				align-self: flex-start;
			}
		</style>
	</head>
	<body>
		<div id="all">
			<div>1</div>
			<div>2</div>
			<div>3</div>
			<div>4</div>
			<div class="cw">5</div>
			<div>6</div>
			<div>7</div>
			<div>8</div>
			<div>9</div>
		</div>
		<p>
			We change lives!
		</p>
	</body>
</html>